package moderation.launcher;
import java.util.Properties;

import javax.naming.Context;
import javax.naming.InitialContext;
public class OpenEJbLauncher {

	public static void main(String[] args) throws Exception {
        System.out.println("Publishing SCA Chat as an EJB service");

        Properties properties = new Properties();
        properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
        properties.setProperty("openejb.embedded.remotable", "true");

        @SuppressWarnings("unused")
		InitialContext initialContext = new InitialContext(properties);

       
        System.out.println("EJB server running - waiting for requests");
        System.out.println("Press enter to shutdown.");
        System.in.read();
    }
}
